import request from "@/utils/request";

// 碳中和治理列表 错误码300091
export function list(params) {
    return request({
        url: "/energy/carbon-neutral/list",
        method: "get",
        params,
    });
}

// 碳中和治理方案确认 错误码300092
export function neutralConfirm(data) {
    return request({
        url: "/energy/carbon-neutral/measure/confirm",
        method: "put",
        data,
    });
}

// 申报审批 错误码300093
export function audit(data) {
    return request({
        url: "/energy/carbon-neutral/audit",
        method: "put",
        data,
    });
}

// 额度调整 错误码300094
export function adjustFee(data) {
    return request({
        url: "/energy/carbon-neutral/adjustFee",
        method: "put",
        data,
    });
}

// 详情 错误码300095
export function detail(id) {
    return request({
        url: `/energy/carbon-neutral/detail/${id}`,
        method: "get",
    });
}
